<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>周日程管理列表 - 领导日程说明系统</title>
    <meta th:replace="~{head/head_include ::  title}"/>
</head>
<body>
<meta th:replace="~{head/head_include ::  header}"/>
<div class="container">
    <div class="row">
        <div class="col-sm-8 col-sm-offset-1 main">
            <h2 class="col-sm-10 col-sm-offset-1 form-signin-heading text-center">查看周日程管理</h2>
            <div class="form-group row">
                <label for="name" class="col-sm-3 control-label">名称</label>
                <div class="col-sm-8">
                    <span th:text="${one?.name }"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="name" class="col-sm-3 control-label">领导</label>
                <div class="col-sm-8">
                    <span th:text="${one?.leaderObj?.name }"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="currDate" class="col-sm-3 control-label">日期</label>
                <div class="col-sm-8">
                    <span th:text="${#dates.format(one.currDate,'yyyy-MM-dd')}"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="weekNum" class="col-sm-3 control-label">周数</label>
                <div class="col-sm-8">
                    <span th:text="${one?.weekNum }"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="address" class="col-sm-3 control-label">地址</label>
                <div class="col-sm-8">
                    <span th:text="${one?.address }"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="organizer" class="col-sm-3 control-label">承办单位</label>
                <div class="col-sm-8">
                    <span th:text="${one?.organizer }"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="proccedEndTime" class="col-sm-3 control-label">处理期限</label>
                <div class="col-sm-8">
                    <span th:text="${#dates.format(one.proccedEndTime,'yyyy-MM-dd HH:mm:ss')}"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="status" class="col-sm-3 control-label">状态:</label>
                <div class="col-sm-8">
                    <span th:text="${one?.statusStr }"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="email" class="col-sm-2 col-form-label">审核人:</label>
                <div class="col-sm-8">
                    <span th:text="${one?.auditObj?.name }"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="email" class="col-sm-2 col-form-label">审核时间:</label>
                <div class="col-sm-8">
                    <span th:text="${#dates.format(one.auditTime,'yyyy-MM-dd')}"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="email" class="col-sm-2 col-form-label">创建时间:</label>
                <div class="col-sm-8">
                    <span th:text="${#dates.format(one.createTime,'yyyy-MM-dd HH:mm:ss')}"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="email" class="col-sm-2 col-form-label">更新时间:</label>
                <div class="col-sm-8">
                    <span th:text="${#dates.format(one.updateTime,'yyyy-MM-dd HH:mm:ss')}"></span>
                </div>
            </div>
            <div class="form-group row">
                <label for="content" class="col-sm-2 col-form-label">内容:</label>
                <div class="col-sm-8">
                    [(${one?.content})]
                </div>
            </div>
            <div class="form-group">
                <label for="pubTimeStr" class="col-sm-2 control-label"></label>
                <a class="btn btn-primary" data-toggle="collapse" href="#staffTypeZcrList" role="button" aria-expanded="true" aria-controls="staffTypeKaochaList">
                    主持人列表
                </a>
                <a class="btn btn-primary" data-toggle="collapse" href="#staffTypeCanjiaList" role="button" aria-expanded="true" aria-controls="staffTypePeitongList">
                    参加人员列表
                </a>
            </div>
        </div>
    </div>
    <!-- 答案选项列表 -->
    <div class="row show" id="staffTypeZcrList">
        <div class="col-md-11 col-sm-offset-1">
            <h4 class="sub-header">主持人列表</h4>
            <div class="table-responsive mt-2">
                <table class="table table-striped table-hover">
                    <thead>
                    <tr>
                        <th>Id</th>
                        <th>人员</th>
                        <th>创建时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <th:block th:each="oneTemp : ${one.staffTypeZcrList }">
                        <tr>
                            <td th:text="${oneTemp.id }"></td>
                            <td th:text="${oneTemp?.usersDescObj?.name }">/td>
                            <td th:text="${#dates.format(oneTemp.updateTime,'yyyy-MM-dd HH:mm:ss')}"></td>
                        </tr>
                    </th:block>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="row show" id="staffTypeCanjiaList">
        <div class="col-md-11 col-sm-offset-1">
            <h4 class="sub-header">参加人员列表</h4>
            <div class="table-responsive mt-2">
                <table class="table table-striped table-hover">
                    <thead>
                    <tr>
                        <th>Id</th>
                        <th>人员</th>
                        <th>创建时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    <th:block th:each="oneTemp : ${one.staffTypeCanjiaList }">
                        <tr>
                            <td th:text="${oneTemp.id }"></td>
                            <td th:text="${oneTemp?.usersDescObj?.name }">/td>
                            <td th:text="${#dates.format(oneTemp.updateTime,'yyyy-MM-dd HH:mm:ss')}"></td>
                        </tr>
                    </th:block>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<meta th:replace="~{head/head_include ::  footer}"/>
</body>
</html>